import {loginRequest,request} from './axiosRequest'

//获取树形菜单
export const getTree =(params) => {return loginRequest("post","/menu/getTree",params)};

//菜单管理-获取菜单列表
export const menuList = (params) => { return request("post", "/menu/list", params) };
//菜单管理-添加菜单
export const menuInsert = (params) => { return request("post", "/menu/insert", params) };
//菜单管理-删除菜单
export const menuDelete = (params) => { return request("post", "/menu/delete", params) };
//菜单管理-获取所有菜单的树形列表
export const menuTree = (params) => { return request("post", "/menu/tree", params) };
//菜单管理-修改菜单
export const menuUpdate = (params) => { return request("post", "/menu/update", params) };



//export const menuSearch= (params) => { return request("post", "/user/search", params) };
//菜单管理-获取菜单
